package domain;

/**
 * 角色
 */
public class Role {
    private int id;//角色唯一识别的id
    private String name;//角色的名称
    private int state;//状态 0生效，1失效
    private String remark;//角色描述

    public Role() {
    }

    public Role(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public Role(int id, String name, int state, String remark) {
        this.id = id;
        this.name = name;
        this.state = state;
        this.remark = remark;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
